package Messages;
import java.util.Vector;

import DataObjects.RecipeRightList;


/*
 * Class that get vector  with all items of any recipe for sending it to client(Used by PfUpdateRecipe and GetAllItemsOfThisRecipe)
 */

public class MessageGetItemsOfExistingRecipeReply extends Message{
	
	private static final long serialVersionUID = 1L;
	private Vector<RecipeRightList> resultRecipes;
	
	public Vector<RecipeRightList> getResultRecipes() {
		return resultRecipes;
	}

	public void setResultRecipes(Vector<RecipeRightList> resultRecipes) {
		this.resultRecipes = resultRecipes;
	}

	public MessageGetItemsOfExistingRecipeReply(Vector<RecipeRightList> res) 
	{
		super(Message.MessageType.MESSAGE_GET_ITEMS_OF_EXISTING_RECIPE_REPLY);
		this.resultRecipes=res;
		
		
	}

}